﻿
namespace PTop.Domain.ViewModel.Wechat
{
    public abstract class WechatMsgBase
    {
        /// <summary>
        /// 发送方帐号
        /// </summary>
        public string FromUserName { get; set; }
        /// <summary>
        /// 接收方账号
        /// </summary>
        public string ToUserName { get; set; }
        /// <summary>
        /// 消息类型
        /// </summary>
        public abstract string MsgType { get; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public string CreateTime { get; set; }

        /// <summary>
        /// 消息模版
        /// </summary>
        public abstract string Template { get; }

        /// <summary>
        /// 生成响应消息内容
        /// </summary>
        /// <returns></returns>
        public abstract string HandleRequest();
    }
}